//
//  NSObject+MLKit.m
//  Pods
//
//  Created by molon on 15/8/11.
//
//

#import "NSObject+MLKit.h"

@implementation NSObject (MLKit)

- (void)performSelector:(SEL)aSelector withInteger:(NSInteger)integer afterDelay:(NSTimeInterval)delay
{
    NSInteger integer_temp = integer;
    NSMethodSignature* signature = [self methodSignatureForSelector:aSelector];
    NSInvocation* invocation = [NSInvocation invocationWithMethodSignature:signature];
    [invocation setTarget:self];
    [invocation setSelector:aSelector];
    [invocation setArgument:&integer_temp atIndex: 2];
    [invocation performSelector:@selector(invoke) withObject:nil afterDelay:delay];
}

@end
